﻿namespace WebPacker.VersionGenerators
{
	using System;
	using WebPacker.Packs;

	public sealed class ManualVersionGenerator : IVersionGenerator
	{
		public ManualVersionGenerator()
		{
			Name = "manual";
		}

		public string Name { get; set; }

		public string GetNextVersion(Pack pack)
		{
			if (pack == null)
			{
				throw new ArgumentNullException("pack");
			}

			return pack.Version;
		}
	}
}
